.class Lcom/nemustech/regina/widgets/clock/ClockWidget$22;
.super Ljava/lang/Object;
.source "ClockWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFHolder$OnUpdateHolderListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/widgets/clock/ClockWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 1085
    iput-object p1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$22;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onUpdateHolder(Z)V
    .locals 4
    .parameter "updated"

    .prologue
    .line 1089
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$22;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$2500(Lcom/nemustech/regina/widgets/clock/ClockWidget;)J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    .line 1090
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v0

    iget-object v2, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$22;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$2500(Lcom/nemustech/regina/widgets/clock/ClockWidget;)J

    move-result-wide v2

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x3e8

    cmp-long v0, v0, v2

    if-lez v0, :cond_1

    .line 1091
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$22;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    const-wide/16 v1, -0x1

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$2502(Lcom/nemustech/regina/widgets/clock/ClockWidget;J)J

    .line 1092
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$22;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$000(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V

    .line 1098
    :cond_0
    :goto_0
    return-void

    .line 1095
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$22;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    iget-object v0, v0, Lcom/nemustech/regina/widgets/clock/ClockWidget;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    goto :goto_0
.end method
